* {
    box-sizing: border-box;
}
.active {
    color: #f24046;
}
.footer {
    width: 100%;
    height: 5rem;
    footer {
        width: 100%;
        height: 5rem;
        background: #fff;
        position: fixed;
        bottom: 0;
        left: 0;
        padding: 1rem 0;
        color: grey;
        ul {
            display: flex;
            width: 100%;
            height: 100%;
            li {
                flex: 1;
                text-align: center;
                span {
                    font-size: 1.5rem;
                    line-height: 1.8rem;
                }
            }
        }
    }
}
.index1 {
    width: 100%;
    .shouye-header {
        width: 100%;
        height: 4rem;
        header {
            width: 100%;
            height: 4rem;
            line-height: 4rem;
            position: fixed;
            top: 0;
            left: 0;
            display: flex;
            justify-content: space-around;
            background: #fff;
            span {
                font-size: 2rem;
                &:hover {
                    border-bottom: 2px solid #f24046;
                }
            }
        }
    }
    .tuijian {
        width: 100%;
        padding: 0.5rem;
        background: #eeeeee;
        ul {
            width: 100%;
            li {
                width: 46%;
                height: 18rem;
                float: left;
                margin: 0.5rem;
                background: #f7f7f7;
                img {
                    width: 100%;
                    height: 60%;
                }
                h3 {
                    padding: 0.3rem;
                    font-family: '宋体';
                    font-weight: normal;
                    color: #000;
                }
                p {
                    display: flex;
                    justify-content: space-around;
                    margin-top: 1rem;
                    span {
                        font-size: 1.8rem;
                        color: red;
                        margin-top: -0.3rem;
                    }
                    a {
                        color: #a6a6a6;
                        font-size: 1.2rem;
                    }
                }
            }
        }
    }
    .gonglve {
        width: 100%;
        padding: 0.5rem;
        background: #eeeeee;
        ul {
            width: 100%;
            padding: 0 0.5rem;
            li {
                width: 100%;
                background: #fff;
                margin: 1rem 0;
                img {
                    width: 100%;
                }
                p {
                    display: flex;
                    height: 3rem;
                    line-height: 3rem;
                    justify-content: space-between;
                    padding: 0 1rem;
                    span {
                        font-size: 1.3rem;
                    }
                    a {
                        color: gray;
                        span {
                            margin: 0.5rem 0.3rem 0 0;
                        }
                    }
                }
            }
        }
    }
}
.classify {
    width: 100%;
    .classify-header {
        width: 100%;
        height: 5rem;
        border-bottom: 1px solid grey;
        .header {
            width: 100%;
            position: fixed;
            left: 0;
            top: 0;
            background: #fff;
            header {
                width: 90%;
                height: 3rem;
                line-height: 3rem;
                display: flex;
                justify-content: space-between;
                background: #DDDDDD;
                border-radius: 5px;
                padding: 0 1rem;
                margin: 1rem auto;
                i {
                    margin-top: 0.4rem;
                    font-size: 2rem;
                    color: #f22f36;
                }
                input {
                    width: 90%;
                }
            }
        }
    }
    .article {
        width: 100%;
        ul {
            li {
                padding: 1rem;
                border: 1px solid #ddd;
                p {
                    width: 100%;
                    display: flex;
                    justify-content: space-between;
                    font-size: 1.8rem;
                    span {
                        img {
                            vertical-align: middle;
                        }
                    }
                    i {
                        margin-top: 0.5rem; 
                    }
                }
                .hide{
                    width: 100%;
                    height: 4rem;
                    line-height: 4rem;
                    display:flex;
                    display: none;
                    background: #F5F5F5;
                    margin-top: 0.5rem;
                    a{
                       margin: 0 1rem;
                        text-align: center;
                        color: #000;
                        font-size: 1.2rem;
                    }
                }
            }
        }
    }
}
.user {
    width: 100%;
    .user-header {
        width: 100%;
        a:nth-child(1) {
            img {
                width: 100%;
            }
        }
        a:nth-child(2) {
            p {
                width: 100%;
                height: 4rem;
                line-height: 4rem;
                padding: 0 2rem;
                display: flex;
                justify-content: space-between;
                color: #000;
                font-size: 1.5rem;
                .right {
                    margin-top: 0.5rem;
                    font-size: 3rem;
                }
                span {
                    display: inline-block;
                    width: 30%;
                    position: relative;
                    .info {
                        display: inline-block;
                        width: 2rem;
                        height: 2rem;
                        text-align: center;
                        line-height: 2rem;
                        border-radius: 50%;
                        position: absolute;
                        right: -1rem;
                        top: 0.5rem;
                        background: red;
                        color: #fff;
                        font-style: normal;
                    }
                }
            }
        }
    }
    .article {
        width: 100%;
        .like {
            display: flex;
            border-top: 1rem solid #f5f5f5;
            div {
                height: 4rem;
                line-height: 4rem;
                flex: 1;
                text-align: center;
                border: 1px solid #DDDDDD;
                font-size: 1.5rem;
                &:hover {
                    border-bottom: 1px solid #f24046;
                }
            }
        }
        .list {
            width: 100%;
            ul {
                width: 100%;
                li {
                    width: 100%;
                    display: flex;
                    justify-content: space-between;
                    padding: 1rem;
                    border-bottom: 1px solid #DDDDDD;
                    .name {
                        display: flex;
                        img {
                            width: 5rem;
                            height: 5rem;
                            margin-right: 1rem;
                        }
                    }
                    i {
                        font-size: 3rem;
                        margin-top: 1rem;
                    }
                }
            }
            ul:nth-child(2) {
                display: none;
            }
        }
    }
}
.settings {
    width: 100%;
    .header {
        width: 100%;
        height: 4rem;
        line-height: 4rem;
        display: flex;
        justify-content: space-between;
        padding: 0 1rem;
        a {
            margin-top: 1rem;
            font-size: 2rem;
            color: #000;
        }
        span {
            margin-top:1rem;
            font-size: 2rem;
            font-weight: 200;
            color: #f24046;
        }
        span:nth-child(2) {
            color: #f24046;
        }
    }
    .lists {
        width: 100%;
        border-top: 1rem solid #F5F5F5;
        ul {
            width: 100%;
            li {
                width: 100%;
                height: 4rem;
                line-height: 4rem;
                padding: 0 1rem;
                font-size: 1.2rem;
                border-bottom: 1px solid #DDDDDD;
                i {
                    margin-right: 0.5rem;
                }
            }
            .clear {
                border-top: 0.5rem solid #F5F5F5;
            }
        }
    }
    .login {
        border-top: 0.5rem solid #F5F5F5;
        border-bottom: 0.5rem solid #F5F5F5;
        padding: 0 1.5rem;
        background: #F5F5F5;
        button {
            width: 97%;
            height: 4rem;
            line-height: 4rem;
            text-align: center;
            background: #fff;
            outline: 0;
            border: 1px solid #DDDDDD;
            font-size: 1.3rem;
            border-radius:5px;
            color: #f24046;
        }
    }
    .share {
        width: 100%;
        height: 100%;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 3;
        background: rgba(0,0,0,0.3);
        display: none;
        ul {
            width: 100%;
            padding: 1rem;
            position: absolute;
            left: 0;
            bottom: 0;
            background: #fff;
            li {
                float: left;
                width: 33%;
                text-align: center;
                margin: 0.5rem 0;
                img {
                    width: 3rem;
                    height: 3rem;
                }
            }
            .cancle {
                width: 100%;
                center {
                    font-weight: 500;
                    font-size: 1.2rem;
                }
            }
        }
    }
}
.details {
    width: 100%;
    .header {
        width: 100%;
        height: 4rem;
        line-height: 4rem;
        display: flex;
        justify-content: space-between;
        padding: 0 1rem;
        a {
            margin-top: 1rem;
            font-size: 2rem;
            color: #000;
        }
        span {
            margin-top: 1rem;
            font-size: 2rem;
            font-weight: 200;
            color: #f24046;
        }
        span:nth-child(2) {
            color: #f24046;
        }
    }
    .section {
        width: 100%;
        img {
            width: 100%;
        }
        h3 {
            padding: 0.5rem;
        }
        span {
            color: #F24046;
            font-size: 1.4rem;
            padding: 0.5rem;
        }
        .p1 {
            padding: 0 0.5rem;
            line-height: 1.8rem;
            font-family: '宋体';
        }
        .p2 {
            span {
                font-size: 1.2rem;
                i {
                    &:hover {
                        color: yellow;
                    }
                }
            }
        }
    }
    .article {
            .like {
                display: flex;
                border-top: 1rem solid #f5f5f5;
                div {
                    height: 4rem;
                    line-height: 4rem;
                    flex: 1;
                    text-align: center;
                    border: 1px solid #DDDDDD;
                    font-size: 1.5rem;
                    &:hover {
                        border-bottom: 1px solid #f24046;
                    }
                }
            }
            .list {
                width: 100%;
                ul {
                    width: 100%;
                    height: 22rem;
                    li {
                        width: 100%;
                        display: flex;
                        justify-content: space-between;
                        padding: 1rem;
                        border-bottom: 1px solid #DDDDDD;
                        .name {
                            display: flex;
                            img {
                                width: 4rem;
                                height: 4rem;
                                margin-right: 1rem;
                            }
                        }
                        i {
                            font-size: 3rem;
                            margin-top: 1rem;
                        }
                    }
                }
                ul:nth-child(2) {
                    display: none;
                }
            }
        }
        .buy{
            width: 100%;
            height: 4rem;
           footer{
               width: 100%;
               height: 4rem;
               position: fixed;
               left: 0;
               bottom:0;
               display: flex;
               justify-content: space-around;
               padding: 0.5rem 1rem;
               background: #F5F5F5;
               button{
                   width: 10rem;
                   height: 3rem;
                   line-height: 3rem;
                   border: 1px solid #f24046;
                   background: #fff;
                   color: #f24046;
                   border-radius: 5px;
                   &:hover{
                       background: #f24046;
                       color: #fff;
                   }
               }
           }
        }
}